<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let strzip = `3dff11aabd`
        let res = ''


        let num = 0
        let str = ''
        let r = 0

        while (r < strzip.length) {        
           
          
            if (strzip[r].charCodeAt() >= '1'.charCodeAt() && strzip[r].charCodeAt() < '9'.charCodeAt()) {     
                let n = strzip[r]
                r++

                while (strzip[r].charCodeAt() >= '0'.charCodeAt() && strzip[r].charCodeAt() < '9'.charCodeAt()) {
                    n += strzip[r]
                    r++
                }
                
                if (strzip[r].charCodeAt() >= 'a'.charCodeAt() && strzip[r].charCodeAt() <= 'z'.charCodeAt()) {
                    
                    str = strzip[r]
                    r++
                    num = parseInt(n)  

                    if (strzip[r] === str||num<3) {                                                
                        res = '!error'
                        break
                    }                   

                                      
                    res += ''.padEnd(num, str)
                    str=''
                }

            } else if (strzip[r].charCodeAt() >= 'a'.charCodeAt() && strzip[r].charCodeAt() <= 'z'.charCodeAt()) {
                str = strzip[r]
                res += str
                r++
                if (strzip[r] === str) {
                    res += str
                    r++
                    if (strzip[r] === str) {
                        res = '!error'
                        break
                    }
                }
                str = ''

            } else {
                
                res = '!error'
                break
            }

        }


        console.log(res);






    </script>
</body>

</html>